package com.of.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
@TableName("orders")
public class Orders extends BasePojo{
    @TableId(type = IdType.AUTO)   //标识主键
    private Integer id;
    private String name;
    private Integer price;
    private Integer number;
    private Integer money;
    private String username;
}
